﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class ERPSaleOrderInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERPSaleOrderInfoRequestDto
    {
        /// <summary>
        /// 描述 : 订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_NUMBER")]
        public string ORDER_NUMBER { get; set; }
        /// <summary>
        /// 描述 : 组织代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 组织代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "row")]
        public string row { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class ERPSaleOrderInfoResponseDto
    {
       
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<ERPSaleOrderInfoResponseData> data { get; set; }

    }

    public class ERPSaleOrderInfoResponseData
    {
        /// <summary>
        /// 描述 : 组织编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORGANIZATION_CODE")]
        public string ORGANIZATION_CODE { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "HEADER_ID")]
        public decimal? HEADER_ID { get; set; }


        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_NUMBER")]
        public decimal? ORDER_NUMBER { get; set; }


        /// <summary>
        /// 描述 : 订单日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BOOKED_DATE")]
        public string BOOKED_DATE { get; set; }
        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CUST_PO_NUMBER")]
        public string CUST_PO_NUMBER { get; set; }
        /// <summary>
        /// 描述 : 客户编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CUSTOMER_NUMBER")]
        public string CUSTOMER_NUMBER { get; set; }
        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CUSTOMER_NAME")]
        public string CUSTOMER_NAME { get; set; }

        /// <summary>
        /// 描述 : 业务员 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SALESREP_NAME")]
        public string SALESREP_NAME { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDER_TYPE")]
        public string ORDER_TYPE { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CONTACT_NAME")]
        public string CONTACT_NAME { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PHONE_NUMBER")]
        public string PHONE_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 收货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SHIP_ADDRESS1")]
        public string SHIP_ADDRESS1 { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINE_NUMBER")]
        public string LINE_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINE_ID")]
        public decimal? LINE_ID { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ITEM_NUMBER")]
        public string ITEM_NUMBER { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ITEM_DESC")]
        public string ITEM_DESC { get; set; }


        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "UOM")]
        public string UOM { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDERED_QUANTITY")]
        public decimal? ORDERED_QUANTITY { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SHIPPED_QUANTITY")]
        public decimal? SHIPPED_QUANTITY { get; set; }


        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINE_STATUS")]
        public string LINE_STATUS { get; set; }

        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SHIP_LOCATION")]
        public string SHIP_LOCATION { get; set; }

    }
}
